Remove deprecated GtkLayout functions
authorChristian Dywan <christian@twotoasts.de>
Wed, 7 Oct 2009 15:42:55 +0000 (17:42 +0200)
committerJavier Jardón <jjardon@gnome.org>
Sun, 2 May 2010 23:39:49 +0000 (01:39 +0200)
gtk/gtklayout.c
gtk/gtklayout.h

index 7e3e0b9afbc270ffd56d3220d3674f3390e13fab..868347f6452df404e06332e0b27a48d4c85632d0 100644 (file)
@@ -534,42 +534,6 @@ gtk_layout_get_size (GtkLayout *layout,
     *height = layout->height;
 }
 
-/**
- * gtk_layout_freeze:
- * @layout: a #GtkLayout
- * 
- * This is a deprecated function, it doesn't do anything useful.
- **/
-void
-gtk_layout_freeze (GtkLayout *layout)
-{
-  g_return_if_fail (GTK_IS_LAYOUT (layout));
-
-  layout->freeze_count++;
-}
-
-/**
- * gtk_layout_thaw:
- * @layout: a #GtkLayout
- * 
- * This is a deprecated function, it doesn't do anything useful.
- **/
-void
-gtk_layout_thaw (GtkLayout *layout)
-{
-  g_return_if_fail (GTK_IS_LAYOUT (layout));
-
-  if (layout->freeze_count)
-    {
-      if (!(--layout->freeze_count))
-       {
-         gtk_widget_queue_draw (GTK_WIDGET (layout));
-         gdk_window_process_updates (GTK_WIDGET (layout)->window, TRUE);
-       }
-    }
-
-}
-
 /* Basic Object handling procedures
  */
 static void
index 0d2e6bcf542b9d97a9eb3e070f71c295049b4ab9..aa542ca72a6a99a9f831b5528609dc14363926bd 100644 (file)
@@ -119,20 +119,6 @@ void           gtk_layout_set_hadjustment (GtkLayout     *layout,
 void           gtk_layout_set_vadjustment (GtkLayout     *layout,
                                           GtkAdjustment *adjustment);
 
-
-#ifndef GTK_DISABLE_DEPRECATED
-/* These disable and enable moving and repainting the scrolling window
- * of the GtkLayout, respectively.  If you want to update the layout's
- * offsets but do not want it to repaint itself, you should use these
- * functions.
- *
- * - I don't understand these are supposed to work, so I suspect
- * - they don't now.                    OWT 1/20/98
- */
-void           gtk_layout_freeze          (GtkLayout     *layout);
-void           gtk_layout_thaw            (GtkLayout     *layout);
-#endif /* GTK_DISABLE_DEPRECATED */
-
 G_END_DECLS
 
 #endif /* __GTK_LAYOUT_H__ */